package com.hl.mapper;

import com.hl.domain.UserCourse;

/**
* @author 25349
* @description 针对表【user_course(用户课程中间表，用于存储用户收藏和购买的课程信息)】的数据库操作Mapper
* @createDate 2024-09-10 15:33:31
* @Entity com.hl.domain.UserCourse
*/
public interface UserCourseMapper {

    int deleteByPrimaryKey(Long id);

    int insert(UserCourse record);

    int insertSelective(UserCourse record);

    UserCourse selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserCourse record);

    int updateByPrimaryKey(UserCourse record);
    //根据课程id改变状态
    int modifyStatus(Long id);

}
